# -*- coding: utf-8 -*-
from django.contrib.contenttypes import generic
from pygameweb.comments.models import Comment
class CommentInline(generic.GenericStackedInline):
    """
    Inline model to show comments at news' admin page
    """
    model = Comment
    extra = 1

    fieldsets = (
        ("Comment", {
            'fields':(('user', 'markup'),'content'),
             'classes': ['collapse', 'extrapretty'],
             },),
        )
